#include <iostream>
using namespace std;
int main()
{
	int startYear=2026;
	int endYear=2116;
	int count=0;
	int sum=0;
	while(startYear<=endYear)
	{
		if((startYear%400==0)||(startYear%4==0&&startYear%100!=0))
		count++;	
		startYear++;
	} 
	sum=(2116-2026)*365+count+2+30+31+30+31+31+30+31+30+31;
	cout<<sum;
	return 0;
} 
